<?php

	//require_once('')
	class CalendarioController extends ApplicationController
	{
		var $models = 'Reserva';

		function index()
		{
			$this->semanal();
		}
	
	    function semanal()
	    {
			$this->semana = $this->Reserva->reservasdia('','','','','');
	    }
	
	    function mensual ()
	    {
	    	$this->id_comercio = 12;
	        $this->month = 5;
	        $this->year = 2008;
	        $this->duracion = 1.5;
	        //$this->especial_days = array('1','4', '12', '23', '27');
	        $this->especial_days = $this->Reserva->reservasmes($this->id_comercio, $this->month, $this->year, $this->duracion);
	    }
	}

?>
